package com.xll.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;


/**
 * 食物详情类
 *  Excel: name:列名   type: 导出类型 1 是文本 2 是图片,3 是函数,10 是数字 默认是文本
 */
@Data
public class Food {

    @ApiModelProperty("主键")
    private Long id;

    @Excel(name = "景点名称")
    @ApiModelProperty("景点名称")
    private String title;

    @ApiModelProperty("景点类别")
    private Long typeId;

    @ApiModelProperty("图片地址")
    @Excel(name = "景点图片", type = 2)
    private String imageUrls;

    @JsonIgnore
    @Excel(name = "食物类别")
    private String typeTitle;


    @Excel(name = "浏览人数")
    @ApiModelProperty("浏览人数")
    private Integer number;


    @Excel(name = "极为推荐人数")
    @ApiModelProperty("极为推荐人数")
    private Integer preferably;



    @Excel(name = "一般推荐人数")
    @ApiModelProperty("一般推荐人数")
    private Integer commonly;


    @Excel(name = "不推荐人数")
    @ApiModelProperty("不推荐人数")
    private Integer deprecated;

    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private String longitude;

    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private String latitude;


    @Excel(name = "地址")
    @ApiModelProperty("地址")
    private String address;

    @Excel(name = "票价")
    @ApiModelProperty("票价")
    private Float price;


    @Excel(name = "酒店数")
    @ApiModelProperty("酒店数")
    private Integer hotel;

    private  String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }
}
